home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 2 / MacMania 2.toast / Demo's / Tools&Utilities / FinderGoedies / Date Format ƒ / Finder Date Format How-To < prev   
Encoding:
Text File  |  1992-09-13  |  4.0 KB  |  87 lines  |  [ttro/ttxt]

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                                       CHANGING THE FINDER'S DATE FORMAT
  11.                                       ----------------------------------
  12.  
  13. Lately, I've seen a lot of people asking this question:
  14.  
  15.      "How can I change the System 7 Finder so that it displays the dates in 
  16.        the short format (9/7/92) rather than the long format (Fri, Aug 28, 1992)?"
  17.  
  18. Since I hadn't seen the answer posted, I decided to experiment & find out.  However, since the System 7 Finder no longer has the LAYO resource, this proved to be somewhat complicated.
  19.  
  20.                                      ----------------------------------
  21.  
  22. The Finder's display preferences are stored the the 'fval' resource, ID = 128.  In order to edit this resource, you will need ResEdit and the 'fval' template.  While one of my copies of ResEdit came with the 'fval' template, another didn't, so I have included one for your convenience.  
  23.  
  24. If, when you open a 'fval' resource, you are presented with the hexadecimal editor rather than the template shown below, follow these instructions to install the 'fval' template:  Simply open the "fval template" file (included) with ResEdit, double-click  the template icon, and then select the "fval" template & copy it.  Last, open your ResEdit Preferences file, paste the 'fval' template, and save & close the preferences file.
  25.  
  26.                                      ----------------------------------
  27.  
  28. Let me point out that there are two possible 'fval' resources that you can edit, with slightly different results.  There is one in the "Finder Preferences" file in the Preferences folder in the System Folder.  This is the one that the Finder will normally use, and is the one we will be editing.   There is also one in the Finder itself.  This is the one that the Finder uses when it creates a new "Finder Preferences" file.  So, if you find yourself trashing the "Finder Preferences" file often, it might be a good idea to edit the Finder also, so that you won't have to keep re-editing the "Finder Preferences" file!
  29.  
  30.                                      ----------------------------------
  31.  
  32. Another problem is that you can't simply open up the "Finder Preferences" file in ResEdit, since the Finder always has this file open & in use.  Thus, you have two choices:  Either use one of the Finder-quitting utilities (after launching ResEdit, of course) to quit the Finder, and then open the "Finder Preferences" file directly from ResEdit.  This is the easiest.
  33.  
  34. Otherwise, you can make a copy of the Finder Preferences file, edit that one, and then trash the old one & rename the new one in place of it.
  35.  
  36. Note that while it is usually recommended to work on a copy of the file, the first option is much easier to use, and if by chance you do damage the preferences file, simply drag it to the trash & the Finder will automatically create a new one for you.
  37.  
  38.                                      ----------------------------------
  39.  
  40. Once you have opened the Preferences file (or a copy of it) in ResEdit, double-click the 'fval' icon,  double-click the 'fval' ID = 128 (the only one there), and you'll be presented with a screen similar to the one below:
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. If you see a screen full of numbers (the hexadecimal editor), you don't have the 'fval' template installed -- see the instructions above to install it.
  66.  
  67. In order to change the format the Finder uses to display the dates, simply replace the number in the "Date Abbreviation" box with a new number:
  68.  
  69.     Number        Date display
  70.     ------         -----------
  71.                 0    =        "8/28/92, 6:48 PM"
  72.                 2    =        "Fri, Aug 28, 1992, 6:48 PM"  (This is the normal display)
  73.                 4    =        "Friday, August 28, 1992, 6:48 PM"
  74.  
  75.  
  76. Save the changes, close the preferences file, and either re-launce the Finder (if you had quit it), or replace the old preferences with the new (if you worked on a copy)!!
  77.  
  78.                                      ----------------------------------
  79.  
  80. If you have any questions or comments, you can catch me at:
  81.  
  82. Karl Erickson
  83. ----------------------
  84. AOL:  K Erickson
  85. Compuserve: 76535,2361
  86.  
  87.